package com.itetchologyandenglish.home.service;

import com.itetchologyandenglish.home.enetity.Auth;

import java.util.List;

public interface AuthService {
       List<Auth> list();
       int addAuthRole(Integer roleId,Integer[] authIds);
       Auth getAuthById(Integer id);
       boolean updateAuth(Auth auth);
       boolean removeAuth(Integer id);
       List<Integer> getAuthByRoleId(Integer id);
       int delAuthRole(Integer roleId);
       boolean addAuth(Auth auth);
}
